package com.ruoyi.sl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报工单对象 sl_rfwork
 *
 * @author admin
 * @date 2024-06-18
 */
public class SlRfwork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long rfworkId;

    /** 报工日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报工日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rfworkDate;

    /** 报工人 */
    @Excel(name = "报工人")
    private String rfworkUser;

    /** 报工人昵称 */
    @Excel(name = "报工人昵称")
    private String rfworkNick;

    /** 直属领导 */
    @Excel(name = "直属领导")
    private String leaderUser;

    /** 领导昵称 */
    @Excel(name = "领导昵称")
    private String leaderNick;

    /** 是否新建（0新建，1非） */
    @Excel(name = "是否新建", readConverterExp = "0=新建，1非")
    private String isNew;

    /** 领导审核通过（0通过，1非） */
    @Excel(name = "领导审核通过", readConverterExp = "0=通过，1非")
    private String leaderPass;

    /** 复核人 */
    @Excel(name = "复核人")
    private String recheckUser;

    /** 复核人昵称 */
    @Excel(name = "复核人昵称")
    private String recheckNick;

    /** 复核通过（0通过，1非） */
    @Excel(name = "复核通过", readConverterExp = "0=通过，1非")
    private String recheckPass;

    /** 领导审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "领导审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date leaderDate;

    /** 复核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "复核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date recheckDate;

    /** 早晚班（0早，1晚） */
    @Excel(name = "早晚班", readConverterExp = "0=早，1晚")
    private String rfworkShifts;

    /** 年 */
    @Excel(name = "年")
    private String rfworkYear;

    /** 月 */
    @Excel(name = "月")
    private String rfworkMonth;

    /** 日 */
    @Excel(name = "日")
    private String rfworkDay;

    /** 0计件1零工 */
    @Excel(name = "0计件1零工")
    private String rfwordType;

    /** 0已统计1未统计 */
    @Excel(name = "0已统计1未统计")
    private String isStatistics;

    /** 属于哪个模块 */
    @Excel(name = "属于哪个模块")
    private Long moduleId;
    /** 车间 */
    @Excel(name = "车间")
    private Long workshopId;

    /** 大工序 */
    @Excel(name = "大工序")
    private Long gprocessId;

    public void setRfworkId(Long rfworkId)
    {
        this.rfworkId = rfworkId;
    }

    public Long getRfworkId()
    {
        return rfworkId;
    }
    public void setRfworkDate(Date rfworkDate)
    {
        this.rfworkDate = rfworkDate;
    }

    public Date getRfworkDate()
    {
        return rfworkDate;
    }
    public void setRfworkUser(String rfworkUser)
    {
        this.rfworkUser = rfworkUser;
    }

    public String getRfworkUser()
    {
        return rfworkUser;
    }
    public void setRfworkNick(String rfworkNick)
    {
        this.rfworkNick = rfworkNick;
    }

    public String getRfworkNick()
    {
        return rfworkNick;
    }
    public void setLeaderUser(String leaderUser)
    {
        this.leaderUser = leaderUser;
    }

    public String getLeaderUser()
    {
        return leaderUser;
    }
    public void setLeaderNick(String leaderNick)
    {
        this.leaderNick = leaderNick;
    }

    public String getLeaderNick()
    {
        return leaderNick;
    }
    public void setIsNew(String isNew)
    {
        this.isNew = isNew;
    }

    public String getIsNew()
    {
        return isNew;
    }
    public void setLeaderPass(String leaderPass)
    {
        this.leaderPass = leaderPass;
    }

    public String getLeaderPass()
    {
        return leaderPass;
    }
    public void setRecheckUser(String recheckUser)
    {
        this.recheckUser = recheckUser;
    }

    public String getRecheckUser()
    {
        return recheckUser;
    }
    public void setRecheckNick(String recheckNick)
    {
        this.recheckNick = recheckNick;
    }

    public String getRecheckNick()
    {
        return recheckNick;
    }
    public void setRecheckPass(String recheckPass)
    {
        this.recheckPass = recheckPass;
    }

    public String getRecheckPass()
    {
        return recheckPass;
    }
    public void setLeaderDate(Date leaderDate)
    {
        this.leaderDate = leaderDate;
    }

    public Date getLeaderDate()
    {
        return leaderDate;
    }
    public void setRecheckDate(Date recheckDate)
    {
        this.recheckDate = recheckDate;
    }

    public Date getRecheckDate()
    {
        return recheckDate;
    }
    public void setRfworkShifts(String rfworkShifts)
    {
        this.rfworkShifts = rfworkShifts;
    }

    public String getRfworkShifts()
    {
        return rfworkShifts;
    }
    public void setRfworkYear(String rfworkYear)
    {
        this.rfworkYear = rfworkYear;
    }

    public String getRfworkYear()
    {
        return rfworkYear;
    }
    public void setRfworkMonth(String rfworkMonth)
    {
        this.rfworkMonth = rfworkMonth;
    }

    public String getRfworkMonth()
    {
        return rfworkMonth;
    }
    public void setRfworkDay(String rfworkDay)
    {
        this.rfworkDay = rfworkDay;
    }

    public String getRfworkDay()
    {
        return rfworkDay;
    }
    public void setRfwordType(String rfwordType)
    {
        this.rfwordType = rfwordType;
    }

    public String getRfwordType()
    {
        return rfwordType;
    }

    public String getIsStatistics() {
        return isStatistics;
    }

    public void setIsStatistics(String isStatistics) {
        this.isStatistics = isStatistics;
    }

    public Long getModuleId() {
        return moduleId;
    }

    public void setModuleId(Long moduleId) {
        this.moduleId = moduleId;
    }

    public Long getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Long workshopId) {
        this.workshopId = workshopId;
    }

    public Long getGprocessId() {
        return gprocessId;
    }

    public void setGprocessId(Long gprocessId) {
        this.gprocessId = gprocessId;
    }

    @Override
    public String toString() {
        return "SlRfwork{" +
                "rfworkId=" + rfworkId +
                ", rfworkDate=" + rfworkDate +
                ", rfworkUser='" + rfworkUser + '\'' +
                ", rfworkNick='" + rfworkNick + '\'' +
                ", leaderUser='" + leaderUser + '\'' +
                ", leaderNick='" + leaderNick + '\'' +
                ", isNew='" + isNew + '\'' +
                ", leaderPass='" + leaderPass + '\'' +
                ", recheckUser='" + recheckUser + '\'' +
                ", recheckNick='" + recheckNick + '\'' +
                ", recheckPass='" + recheckPass + '\'' +
                ", leaderDate=" + leaderDate +
                ", recheckDate=" + recheckDate +
                ", rfworkShifts='" + rfworkShifts + '\'' +
                ", rfworkYear='" + rfworkYear + '\'' +
                ", rfworkMonth='" + rfworkMonth + '\'' +
                ", rfworkDay='" + rfworkDay + '\'' +
                ", rfwordType='" + rfwordType + '\'' +
                ", isStatistics='" + isStatistics + '\'' +
                ", moduleId=" + moduleId +
                ", workshopId=" + workshopId +
                ", gprocessId=" + gprocessId +
                '}';
    }
}
